Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix checkDatasetFiles after merging with master #1459

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

despadam
Copy link

Description

After merging master into release-jobs, the dataset schema now looks different. More specifically origdatablocks field is now commented out from the schema, which led to an error in the jobs.controller.

checkDatasetFiles validates that each file id that is passed in the jobDTO.jobParams.datasetList corresponds to an existing file.

Fixes:

To fix the error, we now store the retrieved origdatablocks of the requested dataset in a variable, instead of inside the dataset instance.

@despadam despadam merged commit f1d6dc5 into release-jobs Oct 24, 2024
7 checks passed
@despadam despadam deleted the fix-origdatablocks-jobs-controller branch October 24, 2024 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant